/*
 * Created on 2005-10-6
 *
 */
package com.yl.cap.analyst.work.job;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

/**
 * @author ZhangQi
 *  
 */
public class CreateReportJob extends QuartzJobBean
{
    
    protected void executeInternal(JobExecutionContext ctx)
            throws JobExecutionException
    {
        System.out.println("============Job start!!======================");
        CreateReportThread t = new CreateReportThread();
        t.setTriggerName(ctx.getTrigger().getName());
        t.run();
    }
}
